package com.arc.message;

/**
 *
 * @author Adam
 */
import com.arc.level.Snapshot;
import com.jme3.network.AbstractMessage;
import com.jme3.network.serializing.Serializable;

@Serializable
public class TickMessage extends AbstractMessage{
    private Snapshot currentSnapshot;
    
    public TickMessage() {
    }
    
    public void setSnapshot(Snapshot nextSnapshot)
    {
        currentSnapshot = nextSnapshot;
    }
    
    public Snapshot getSnapshot()
    {
        return currentSnapshot;
    }
}
